package com.mybatis.mapper;

import com.mybatis.pojo.DepartExample;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import spring.cloud.pojo.Depart;


@Mapper
public interface DepartMapper {
    int countByExample(DepartExample example);

    int deleteByExample(DepartExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(com.mybatis.pojo.Depart record);

    int insertSelective(com.mybatis.pojo.Depart record);

    List<Depart> selectByExample(DepartExample example);

    com.mybatis.pojo.Depart selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") com.mybatis.pojo.Depart record, @Param("example") DepartExample example);

    int updateByExample(@Param("record") com.mybatis.pojo.Depart record, @Param("example") DepartExample example);

    int updateByPrimaryKeySelective(Depart record);

    int updateByPrimaryKey(Depart record);
}
